package zucc.edu.cn.chengchengparttime;

import androidx.annotation.NonNull;

import java.util.List;

public class User {
    String UserID;
    String Password;
    String Sno;
    String Name;
    String Gender;
    String School;
    String PhoneNub;
    String IntensionType1;
    String IntensionType2;

    User(String UserID, String Password, String Sno, String Name, String Gender, String School, String PhoneNub, String IntensionType1, String IntensionType2){
        this.Gender=Gender;
        this.UserID=UserID;
        this.IntensionType1=IntensionType1;
        this.IntensionType2=IntensionType2;
        this.Name=Name;
        this.School=School;
        this.Sno=Sno;
        this.Password=Password;
        this.PhoneNub=PhoneNub;
    }

    public String getSchool() {
        return School;
    }

    public void setSchool(String school) {
        School = school;
    }

    public String getUserID() {
        return UserID;
    }

    public void setUserID(String userID) {
        UserID = userID;
    }

    public String getPassword() {
        return Password;
    }

    public void setPassword(String password) {
        Password = password;
    }

    public String getSno() {
        return Sno;
    }

    public void setSno(String sno) {
        Sno = sno;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public String getGender() {
        return Gender;
    }

    public void setGender(String gender) {
        Gender = gender;
    }



    public String getPhoneNub() {
        return PhoneNub;
    }

    public void setPhoneNub(String phoneNub) {
        PhoneNub = phoneNub;
    }

    public String getIntensionType1() {
        return IntensionType1;
    }

    public void setIntensionType1(String intensionType1) {
        IntensionType1 = intensionType1;
    }

    public String getIntensionType2() {
        return IntensionType2;
    }

    public void setIntensionType2(String intensionType2) {
        IntensionType2 = intensionType2;
    }

    @Override
    public String toString() {
        return "User{" +
                "UserID='" + UserID + '\'' +
                ", Password='" + Password + '\'' +
                ", Sno='" + Sno + '\'' +
                ", Name='" + Name + '\'' +
                ", Gender='" + Gender + '\'' +
                ", School='" + School + '\'' +
                ", PhoneNub='" + PhoneNub + '\'' +
                ", IntensionType1='" + IntensionType1 + '\'' +
                ", IntensionType2='" + IntensionType2 + '\'' +
                '}';
    }
}
